import request from '@/utils/request'
export const getdataboard = (data) => {
  return request({
    url: '/app/home/getdataboard',
    method: 'Post',
    data
  })
}
export const getsynthesis = () => {
  return request({
    url: `/api/stat/synthesis`,
    method: 'Get'
  })
}
export const getstattrends = (data) => {
    return request({
      url: `/app/home/getstattrends`,
      method: 'Post',
      data
    })
  }
  export const getorderBoard = () => {
    return request({
      url: `/api/stat/orderBoard`,
      method: 'Get'
    })
  }
  export const getlatetrends = (data) => {
    return request({
      url: `/app/home/getlatetrends`,
      method: 'Post',
      data
    })
  }
  export const gettrackingtrends = (data) => {
    return request({
      url: `/app/home/gettrackingtrends`,
      method: 'Post',
      data
    })
  }
  export const getdeliverytrends = (data) => {
    return request({
      url: `/app/home/getdeliverytrends`,
      method: 'Post',
      data
    })
  }
  export const getinventorytrends = (data) => {
    return request({
      url: `/app/home/getinventorytrends`,
      method: 'Post',
      data
    })
  }
  export const gettodayinventorytrends = (data) => {
    return request({
      url: `/app/home/gettodayinventorytrends`,
      method: 'Post',
      data
    })
  }
  export const getorderagingtrends = (data) => {
    return request({
      url: `/app/home/getagingtrends`,
      method: 'Post',
      data
    })
  }
  export const getstoretrends = (data) => {
    return request({
      url: `/app/home/getstoretrends`,
      method: 'Post',
      data
    })
  }
  export const getordersendtrends = (data) => {
    return request({
      url: `/app/home/getordersendtrends`,
      method: 'Post',
      data
    })
  }